
<div class="widget">
    <div class="widgetTitle">
            <h3>All listings :  </h3>
       
    </div><!-- /.widgetTitle -->
    
    <?php foreach($listings as $list):?>
    <div class="widgetContent bottom-border listing">
        <div class="row nomargin">
            <div class="col-md-9 col-sm-9 col-xs-9">
                <h2><a href="<?= URL::base();?>/<?= Commoncall::postLink($list->id);?>"> <?= $list->title;?></a></h2>

                <blockquote>
                <p><?= (!empty($list->address1)  ? $list->address1: null);?></p>
                <p>
                    <?php foreach(Terms::location($list->id) as $loc):?>
                        <a href="#"><?= Locations::find($loc->value)->name;?>, </a>
                    <?php endforeach;?>
                </p>
                </blockquote>


                <p>
                    <?php foreach(Terms::category($list->id) as $cat):?>
                        <a href="#"><?= Categories::find($cat->value)->name;?>,</a>
                    <?php endforeach;?>
                </p>


            </div>

            <div class="col-md-3 col-sm-3 col-xs-3 leftBorder">
                <img class="img-responsive" src="<?= URL::base(); ?>/storage/uploads/logos/3.jpg" alt="">
            </div>
        </div>

    </div><!-- /.widgetContent -->
    <?php endforeach;?>



</div><!-- /.widget -->

<input type="submit" class="submitbtn rightalign" value="next">


                     
           